package com.example.presentshopping.config.bean;

import java.util.List;

public class InformationBean {

    /**
     * code : 0
     * msg : 获取资讯信息成功
     * data : [{"title":"测试","img":"https://wmoss.lxtianxia.cn/images/8/2020/11/BzcLoysKFnL99dfKUORDLko8MHNZCm.jpg","url":"https://www.baidu.com"},{"title":"迷茫的程序员","img":"https://wmoss.lxtianxia.cn/images/8/2020/11/S9lgDZ96zYoRVgG5MYoyxmYNmnOMCO.jpg","url":"http://119.23.48.118/app/index.php?i=14&c=entry&m=ewei_shopv2&do=mobile"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 测试
         * img : https://wmoss.lxtianxia.cn/images/8/2020/11/BzcLoysKFnL99dfKUORDLko8MHNZCm.jpg
         * url : https://www.baidu.com
         */

        private String title;
        private String img;
        private String url;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
